<?php

//------------------------//
//   Template 'defaut'    //
//   Coder par T3rmin0z   //
//   version 1.0          //
//------------------------//

//load_style('style');

function tpl_header()
{
	$data = load_template("header.html", "header.html");
	$data = load_couleur($data);
	
	echo $data;
}

function tpl_footer()
{
	$data = load_template("footer.html", "footer.html");
	$data = load_couleur($data);
	
	echo $data;
}

function tpl_index() 
{
	echo "<div id='corp'>\n"
	. "<b class='b1_white'><b class='b1-1_white'></b><b class='b1-2_white'></b><b class='b1-3_white'></b><b class='b1-4_white'></b></b>\n"
	. "<div id='corp-header'>\n"
	. "<b class='b1_bleu'><b class='b1-1_bleu'></b><b class='b1-2_bleu'></b><b class='b1-3_bleu'></b><b class='b1-4_bleu'></b></b>\n"
	. "<div id='corp-header-2'>\n";
	tpl_header();
	echo "</div>\n"
	. "<b class='b2_bleu'><b class='b2-1_bleu'></b><b class='b2-2_bleu'></b><b class='b2-3_bleu'></b><b class='b2-4_bleu'></b></b>\n"
	. "</div>\n"
	. "<div id='corp-2'>\n"
	. "<b class='b1_bleu'><b class='b1-1_bleu'></b><b class='b1-2_bleu'></b><b class='b1-3_bleu'></b><b class='b1-4_bleu'></b></b>\n"
	. "<div id='corp-2-1'>\n"
	. "<table id='corp-2-1-1'>\n"
	. "<tr>\n"
	. "<td colspan=\"2\" style=\"padding: 0 0 5px 0;\">\n";
	//localisation('direction.html');
	echo "</td>\n"
	. "<td id='droite' valign='top' rowspan=\"2\">\n";
	tpl_droite();
	echo "</td>\n"
	. "</tr>\n"
	. "<tr>\n"
	. "<td id='centre' valign='top'>\n";
	tpl_centre();
	echo "</td>\n"
	. "<td id='gauche' valign='top'>\n";
	tpl_gauche();
	echo "</td>\n"
	. "</tr>\n"
	. "</table>\n"
	. "<div id='corp-2-footer'>\n";
	tpl_footer();
	echo "</div>\n"
	. "</div>\n"
	. "<b class='b2_bleu'><b class='b2-1_bleu'></b><b class='b2-2_bleu'></b><b class='b2-3_bleu'></b><b class='b2-4_bleu'></b></b>\n"
	. "</div>\n"
	. "<b class='b2_white'><b class='b2-1_white'></b><b class='b2-2_white'></b><b class='b2-3_white'></b><b class='b2-4_white'></b></b>\n"
	. "</div>\n";
}

function tpl_inormal()
{
	echo "<div id='corp'>\n"
	. "<b class='b1_white'><b class='b1-1_white'></b><b class='b1-2_white'></b><b class='b1-3_white'></b><b class='b1-4_white'></b></b>\n"
	. "<div id='corp-header'>\n"
	. "<b class='b1_bleu'><b class='b1-1_bleu'></b><b class='b1-2_bleu'></b><b class='b1-3_bleu'></b><b class='b1-4_bleu'></b></b>\n"
	. "<div id='corp-header-2'>\n";
	tpl_header();
	echo "</div>\n"
	. "<b class='b2_bleu'><b class='b2-1_bleu'></b><b class='b2-2_bleu'></b><b class='b2-3_bleu'></b><b class='b2-4_bleu'></b></b>\n"
	. "</div>\n"
	. "<div id='corp-2'>\n"
	. "<b class='b1_bleu'><b class='b1-1_bleu'></b><b class='b1-2_bleu'></b><b class='b1-3_bleu'></b><b class='b1-4_bleu'></b></b>\n"
	. "<div id='corp-2-1'>\n"
	. "<table id='corp-2-1-1'>\n"
	. "<tr>\n"
	. "<td  style=\"padding: 0 0 5px 0;\">\n";
	//localisation('direction.html');
	echo "</td>\n"
	. "<td id='droite' valign='top' rowspan=\"2\">\n";
	tpl_droite();
	echo "</td>\n"
	. "</tr>\n"
	. "<tr>
	<td id='centre-1' valign='top'>\n";
	tpl_centre1();
	echo "</td>
	</tr>\n"
	. "</table>\n"
	. "<div id='corp-2-footer'>\n";
	tpl_footer();
	echo "</div>\n"
	. "</div>\n"
	. "<b class='b2_bleu'><b class='b2-1_bleu'></b><b class='b2-2_bleu'></b><b class='b2-3_bleu'></b><b class='b2-4_bleu'></b></b>\n"
	. "</div>\n"
	. "<b class='b2_white'><b class='b2-1_white'></b><b class='b2-2_white'></b><b class='b2-3_white'></b><b class='b2-4_white'></b></b>\n"
	. "</div>\n";
}

function tpl_admin()
{
	echo "<div id='corp'>\n"
	. "<b class='b1_white'><b class='b1-1_white'></b><b class='b1-2_white'></b><b class='b1-3_white'></b><b class='b1-4_white'></b></b>\n"
	. "<div id='corp-header'>\n"
	. "<b class='b1_bleu'><b class='b1-1_bleu'></b><b class='b1-2_bleu'></b><b class='b1-3_bleu'></b><b class='b1-4_bleu'></b></b>\n"
	. "<div id='corp-header-2'>\n";
	tpl_header();
	echo "</div>\n"
	. "<b class='b2_bleu'><b class='b2-1_bleu'></b><b class='b2-2_bleu'></b><b class='b2-3_bleu'></b><b class='b2-4_bleu'></b></b>\n"
	. "</div>\n"
	. "<div id='corp-2'>\n"
	. "<b class='b1_bleu'><b class='b1-1_bleu'></b><b class='b1-2_bleu'></b><b class='b1-3_bleu'></b><b class='b1-4_bleu'></b></b>\n"
	. "<div id='corp-2-1'>\n"
	. "<table id='corp-2-1-1'>\n"
	. "<tr>\n"
	. "<td  style=\"padding: 0 0 5px 0;\">\n";
	//localisation('direction.html');
	echo "</td>\n"
	. "</tr>\n"
	. "<tr>
	<td id='centre-1' valign='top'>\n";
	tpl_centre1();
	echo "</td>
	</tr>\n"
	. "</table>\n"
	. "<div id='corp-2-footer'>\n";
	tpl_footer();
	echo "</div>\n"
	. "</div>\n"
	. "<b class='b2_bleu'><b class='b2-1_bleu'></b><b class='b2-2_bleu'></b><b class='b2-3_bleu'></b><b class='b2-4_bleu'></b></b>\n"
	. "</div>\n"
	. "<b class='b2_white'><b class='b2-1_white'></b><b class='b2-2_white'></b><b class='b2-3_white'></b><b class='b2-4_white'></b></b>\n"
	. "</div>\n";
}

?>